package cn.service;

import cn.entity.SysResource;
import cn.entity.SysRole;
import cn.entity.SysUser;
import com.github.pagehelper.PageInfo;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface SysRoleService extends BaseService<SysRole>{

    PageInfo<SysRole> selectPage(int pageNum, int pageSize, Map<String,Object> map);

    List<SysRole> selectFromRole(Long id);

    List<SysUser> selectElse(Long uid, Long oid);

    int addBtnSubmit(Long rid,List<Long> uids);

    int removeBtnSubmit(Long rid, List<Long> uids);

    int updateByPrimaryKeySelective(Map<String,Object> map);

    List<Long> selectOfficeByRid(Long rid);


}

